<?php

/**
 * Template for Edit tutor form
 * 
 */
 class tplFormtutor extends StudyBuddy\Template\Template
 {
 	
 	protected static $vars = array(
 	'token' => '', // 1
	'formTitle' => 'Edit Tutor', //2
 	'fn' => '', //3
 	'fn_l' => 'First Name', // 4
 	'mn' => '', // 5
 	'mn_l' => 'Middle Name', //6
 	'ln' => '', // 7
 	'ln_l' => 'Last Name', // 8
 	'dob' => '', //9
 	'dob_l' => 'Date of Birth', //10
 	'dob_d' => 'YYYY/MM/DD, only used for displaying age', //11
 	'cc' => '', // 12
 	'cc_l' => 'Country', //13
 	'state' => '', //14
 	'state_l' => 'State or Region', // 15
 	'city' => '', //16
 	'city_l' => 'City', //17
 	'zip' => '', //18
 	'zip_l' => 'Postal code (zip)', //19
 	'url' => '', // 20
 	'url_l' => 'Website', //21
 	'description' => '', //22
 	'description_l' => 'About me', //23
 	'description_e' => '', //24
 	'submit' => 'Save', //25
 	'formError' => '', //26
 	'preview' => 'Preview', //27
 	'gender' => '', //28
 	'gender_l' => 'Gender', //29
 	'dob_e' => '', //30
 	'description_d' => 'Plain text only, no html', //31
 	'pictureLabel' => 'Tutor picture', //32
 	'avatarSrc' => '', //33
 	'width' => '40', //34
 	'profile_image' => '', //35
 	'changeImage' => 'Change image', //36
 	'avatarTos' => 'Upload Avatar Image. Maximum size of 1Mb<br><span class="smaller">By uploading a file you certify that you have the right to distribute this picture and that it does not violate the Terms of Service.</span>', //37
 	'deleteLabel' => 'Delete this image', //38
 	'uid' => '', //39
 	'hideAvatar' => '', //40
 	'maxAvatarSize' => '2000000', //41
 	'profile_image_e' => '', //42
 	'username' => '', //43
 	'usernameLabel' => '', //44
 	'tmp_role' => '', //45
 	'tmp_role_l' => 'Are you a', //46
 	'fullname' => '', //47
 	'fullname_l' => 'Full name', //48
 	'fullname_e' => '', //49
 	'sowa' => '', //50
 	'sowa_l' => 'School / Work Affiliation', //51
 	'message' => '', //52
 	'mobile' => '', //53
 	'mobile_l' => 'Mobile', //54
 	'package' => '', //55
 	'experience' => '', //56
 	'experience_l' => 'Year of Experience', //57
 	'niecert' => '', //58
 	'niecert_l' => 'NIE Cert', //59
 	'qualification' => '', //60
 	'qualification_l' => 'Highest Qualification', //61
 	'teach' => '', //62
 	'teach_l' => 'Can teach', //63
 	'agree' => '', //64
 	'agree_l' => '', //65
 	'agree_e' => '', //66
	'tmp_role_display' => '', //67
	'new_reg' => 'display:none', //68
	'old_reg' => '', //69
	'js_redirect' => '', //70
 	);
 	
 	
 	protected static $tpl = '
            %70$s
	<form name="epForm" method="POST" action="/index.php" enctype="multipart/form-data" accept-charset="utf-8">
		<input type="hidden" name="a" value="regtutor">
		<input type="hidden" name="uid" value="%39$s">	
		<input type="hidden" name="username" value="%43$s">
		<input type="hidden" name="token" value="%1$s">
		<div id="tools" class="form_wrap">
			%52$s
			<h1>%2$s</h1>
			<div class="form_error">%26$s</div>
			<table class="larger vtop eprofile">
				<tr style="%68$s">
					<td align="right" width="180px">%46$s:</td>
					<td>%45$s</td>
				</tr>
				<tr style="%69$s">
					<td align="right" width="180px">%46$s:</td>
					<td>%67$s</td>
				</tr>
				<tr>
					<td align="right" width="180px">%44$s:</td>
					<td>%43$s</td>
				</tr>
				<tr>
					<td align="right" width="180px">%32$s:</td>
					<td>
						<table padding="0">
							<tr class="profile_img">
								<td width="50px">
									<img src="%33$s" width="%34$spx" height="%34$spx" class="fl img_avatar">
								</td>
								<td>
									<div class="fl%40$s">
										<span id="avatar_upload" class="fl _pic_upload"> 
											<span class="fl">You may upload your avatar image</span>
											<input type="hidden" name="MAX_FILE_SIZE" value="%41$s">
											<input id="id_profile_image" name="profile_image" size="20" type="file"> 
											<span class="f_err">%42$s</span>
											<br><div class="smaller">%37$s</div> 
										</span>
									</div> 
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td align="right" width="180px"><span class="red"> * </span> %48$s:</td>
					<td><input type="text" size="35" id="id_fullname" name="fullname" value="%47$s">
						<br><span class="f_err">%49$s</span></td>
				</tr>
				<tr>
					<td align="right" width="180px">%54$s:</td>
					<td><input type="text" size="35" id="id_mobile" name="mobile" value="%53$s"></td>
				</tr>
				<tr style="display:none">
					<td align="right" width="180px">Package:</td>
					<td>%55$s</td>
				</tr>
				<tr>
					<td align="right" width="180px">%57$s:</td>
					<td><input type="text" size="35" id="id_experience" name="experience" value="%56$s"></td>
				</tr>
				<tr>
					<td align="right" width="180px">%59$s:</td>
					<td><select name="niecert">%58$s</select></td>
				</tr>
				<tr>
					<td align="right" width="180px">%61$s:</td>
					<td><select name="qualification">%60$s</select></td>
				</tr>
				<tr>
					<td align="right" width="180px">%63$s:</td><td>
						<table class="tbl_teach">
							<tr>
								<th></th>
								<th>P1</th>
								<th>P2</th>
								<th>P3</th>
								<th>P4</th>
								<th>P5</th>
								<th>P6</th>
								<th>S1</th>
								<th>S2</th>
								<th>S3</th>
								<th>S4</th>
							</tr>
							%62$s
						</table>
					</td>
				</tr>
				<tr>
					<td align="right" width="180px">%23$s:</td>
					<td><textarea id="id_description" rows="8" cols="44" class="com_body9" name="description">%22$s</textarea>
						<br><span class="fl cb caption">%31$s</span></td>
				</tr>
				<tr>
					<td align="right" width="180px"></td>
					<td><input type="checkbox" name="agree" id="id_agree" value="1" /> By signing up, you agree to the terms and conditions
						<br><span class="f_err">%66$s</span></td>
				</tr>
				<tr>
					<td align="right" width="180px"></td>
					<td><div class="form_el">
							<input  tabindex="20" id="dostuff" name="submit" type="submit" value="%25$s" class="btn_comment"> 
						</div>
					</td>
				</tr>
			</table>
		</div>
	</form>';
 	
 }
 